export const superUser={
  id:1, //角色id
  username:'superadmin',
  routes:[
    {
      id:1,
      path:'/',
      name:'dashboard',
      text:'DashBoard',
      extra:{}
    },
    {
      id:1,
      path:'/',
      name:'dsahboard',
      text:'首页',
      extra:{}
    },
    {
      id:2,
      path:'/schemes',
      name:'schemes',
      text:'方案管理',
      extra:{}
    },
    {
      id:3,
      path:'/orders',
      name:'orders',
      text:'订单管理',
      extra:{}
    },
    {
      id:4,
      path:'/supplies',
      name:'supplies',
      text:'货源管理',
      extra:{}
    },

    {
      id:5,
      path:'/statistics',
      name:'statistics',
      text:'数据观测',
      extra:{}
    },
    {
      id:6,
      path:'/staff',
      name:'staff',
      text:'操作员管理',
      extra:{}
    },
    {
      id:6,
      path:'/stores',
      name:'stores',
      text:'店铺管理',
      extra:{}
    },
    {
      id:6,
      path:'/orders',
      name:'orders',
      text:'成交记录',
      extra:{}
    },
    {
      id:6,
      path:'/users',
      name:'users',
      text:'客户跟进',
      extra:{}
    },
    {
      id:6,
      path:'/threads',
      name:'threads',
      text:'线索分配',
      extra:{}
    },
    //path: '/staff',
//  component:StaffIndex,
//  children: [
//  {
//    path: '',
//    name: 'staffList',
//    component: StaffList
//  },

  ]
};



export const adminUser={
  id:2, //角色id
  username:'admin',
  indexPath:'/statistics',
  routes:[
    {
      id:1,
      path:'/statistics',
      name:'statistics',
      text:'数据统计',
      extra:{}
    },
    {
      id:2,
      path:'/schemas',
      name:'schemas',
      text:'方案审核',
      extra:{}
    },
    {
      id:3,
      path:'/orders',
      name:'orders',
      text:'订单跟进',
      extra:{}
    },
    {
      id:4,
      path:'/supplies',
      name:'supplies',
      text:'货源管理',
      extra:{}
    },

    {
      id:6,
      path:'/staff',
      name:'staff',
      text:'操作员管理',
      extra:{}
    },


  ]
};
export const saleUser={
  id:3, //角色id
  username:'saleUser',
  indexPath:'/',
  routes:[
    {
      id:1,
      path:'/',
      name:'dashboard',
      text:'首页',
      extra:{}
    },
    {
      id:2,
      path:'/shops',
      name:'shops',
      text:'店铺管理',
      extra:{}
    },
    {
      id:3,
      path:'/customs',
      name:'customs',
      text:'客户管理',
      extra:{}
    },
    {
      id:4,
      path:'/threads',
      name:'threads',
      text:'线索分配',
      extra:{}
    },
    // {
    //   id:5,
    //   path:'/supplies',
    //   name:'supplies',
    //   text:'货源管理',
    //   extra:{}
    // },
    {
      id:5,
      path:'/admin_orders',
      name:'admin_orders',
      text:'成交记录',
      extra:{}
    },


  ]
};

